const fs = require('fs');
const KEY_LENGTH = 1024;
const KEY_COUNT = 2048;
const CHARS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789<>?,./;[]{}!@#$%^&*()_+';
let arr =[];
for(let i=0;i<KEY_LENGTH;i++){
    let key = '';
    for(let j=0;j<KEY_COUNT;j++){
        key+= CHARS[Math.floor(Math.random()*CHARS.length)]
    }
    arr.push(key);
}
fs.writeFileSync('.keys',arr.join('\n'));